package com.ruoyi.project.student.service.impl;

import com.ruoyi.framework.aspectj.lang.annotation.DataScope;
import com.ruoyi.project.student.domain.Class;
import com.ruoyi.project.student.mapper.ClassMapper;
import com.ruoyi.project.student.service.ClassService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class ClassServiceImpl implements ClassService {

    @Autowired
    public ClassMapper classMapper;
    @Override
    @DataScope(deptAlias = "d", userAlias = "u")
    public List<Class> selectClass(Class classParam)
    {
        return classMapper.selectClass(classParam);
    }

}

